﻿using System;

namespace SummaryDate
{
    class Program
    {
        [STAThread]
        static void Main(string[] args)
        {
            Console.Write("路径：");
            string paths = Console.ReadLine();
            try
            {
                CountDGN countDGN = new CountDGN();
                Console.WriteLine("开始扫描文件：");
                Console.WriteLine("-----------------------------------------------------");
                countDGN.SacnPaths(paths);
                Console.WriteLine("开始区别文件：");
                Console.WriteLine("-----------------------------------------------------");
                countDGN.GetResult();

            }
            catch
            {
                Console.WriteLine("路径异常");
            }
            Console.ReadLine();

        }
    }
}
